package com.group11.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

//将这个实体类传给mapper时，在没有tableName注解时，会默认使用类名作为表名（无视大小写），所以这里加上注解
@TableName("qlm_score")
@Data
public class Score {
    private int id;
    private int userId;
    private String reason;
    private LocalDateTime recordTime;
    private int delta;
}
